<template>
  <div class="about">
    <h3>This is an about page</h3>
    <h3>页面请求参数: {{query.name}}</h3>
  </div>
</template>

<script lang="ts">
export default {
  beforeRouteEnter() {
    console.log('进入 beforeRouteEnter')
  },
}
</script>

<script setup lang="ts">
  const aa = ref(0)
  const { query } = useRoute()
  
</script>
